
let methods ={
    add:function (state,action) { 
        state.num++;
        return state
     },
     addNum:function(state,action){
         state.num = state.num +action.num;
         return state
     },
     getTimu:function (state,action) { 
         state.TimuList =action.content;
         return state
      },
      addSettlementData:function(state,action){
          state.SettlementData = action.data;
          console.log('在redux中添加数据成功！',state)
          return state
      }
};
export default methods